# SPDX-License-Identifier: GPL-2.0
#
# lombo ir Makefile
#

obj-$(CONFIG_IR_LOMBO)     += ir.o

SOURCE := $(srctree)/$(src)/csp/ir_csp.c

ifneq ($(wildcard $(SOURCE)), )
obj-$(CONFIG_IR_LOMBO) += csp/
else
obj-y += liblombo_ir.o
$(obj)/liblombo_ir.o: $(src)/liblombo_ir
        cp $< $@
endif
